import request from '@/utils/request'

export function getServices(query) {
  return request({
    url: '/program/service/getList',
    method: 'post',
    data: query
  })
}

export function getService(id) {
  return request({
    url: '/program/service/getDetail',
    method: 'post',
    data: id
  })
}

export function saveService(id) {
  return request({
    url: '/program/service/save',
    method: 'post',
    data: id
  })
}

export function removeServiceByID(id) {
  return request({
    url: '/program/service/delete',
    method: 'post',
    data: id
  })
}

export function changeServiceStatusByID(id) {
  return request({
    url: '/program/service/change-status',
    method: 'post',
    data: id
  })
}

